# Base image to use, this must be set as the first line
FROM openjdk:8u332-oraclelinux7

MAINTAINER ChouMonkey.

EXPOSE 8889/tcp

RUN mkdir -p /var/docker/gsCloud \
	&& mkdir -p /var/docker/gsCloud/cloud-dick-service \
	&& /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
	
COPY /cloud-dick-service-0.0.1-SNAPSHOT /usr/gsCloud/cloud-dick-service/cloud-dick-service-0.0.1-SNAPSHOT/


WORKDIR /usr/gsCloud/cloud-dick-service/cloud-dick-service-0.0.1-SNAPSHOT

CMD java -cp /usr/gsCloud/cloud-dick-service/cloud-dick-service-0.0.1-SNAPSHOT -Dspring.profiles.active=prod -Xdebug -Xnoagent -Djava.compiler=NONE org.springframework.boot.loader.JarLauncher


	
